package com.dingding.common.core.exception.server;

public enum ServerExpEnum {

	SERVER_DATABASE_EXCEPTION(500, "服务器数据库异常"),
	UPLOAD_IMAGE_ERROR(500, "上传图片的时异常");

	private int code; 		// 状态码

	private String message; // 状态码消息

	private ServerExpEnum(int code, String message) {
		this.code = code;
		this.message = message;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
